package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工艺设计主表对象 gy_main
 * 
 * @author xiangjun
 * @date 2021-12-14
 */
public class GyMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 品种 */
    @Excel(name = "品种")
    private String type;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productno;

    /** 品种状态 */
    @Excel(name = "品种状态")
    private int status;

    /** 生成数量 */
    @Excel(name = "生成数量")
    private String productcount;

    /** 交货期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交货期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadline;

    /** 整经表序号 */
    @Excel(name = "整经表序号")
    private Long warpingId;

    /** 穿综筘表序号 */
    @Excel(name = "穿综筘表序号")
    private Long loomingId;

    /** 配方表序号 */
    @Excel(name = "配方表序号")
    private Long formulaId;

    /** 工艺表序号 */
    @Excel(name = "工艺表序号")
    private Long processId;

    /** 浆纱工程师 */
    @Excel(name = "浆纱工程师")
    private String sizingname;

    /** 工艺设计人员 */
    @Excel(name = "工艺设计人员")
    private String designname;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setProductno(String productno) 
    {
        this.productno = productno;
    }

    public String getProductno() 
    {
        return productno;
    }
    public void setProductcount(String productcount) 
    {
        this.productcount = productcount;
    }

    public String getProductcount() 
    {
        return productcount;
    }
    public void setDeadline(Date deadline) 
    {
        this.deadline = deadline;
    }

    public Date getDeadline() 
    {
        return deadline;
    }
    public void setWarpingId(Long warpingId) 
    {
        this.warpingId = warpingId;
    }

    public Long getWarpingId() 
    {
        return warpingId;
    }
    public void setLoomingId(Long loomingId) 
    {
        this.loomingId = loomingId;
    }

    public Long getLoomingId() 
    {
        return loomingId;
    }
    public void setFormulaId(Long formulaId) 
    {
        this.formulaId = formulaId;
    }

    public Long getFormulaId() 
    {
        return formulaId;
    }
    public void setProcessId(Long processId) 
    {
        this.processId = processId;
    }

    public Long getProcessId() 
    {
        return processId;
    }
    public void setSizingname(String sizingname) 
    {
        this.sizingname = sizingname;
    }

    public String getSizingname() 
    {
        return sizingname;
    }
    public void setDesignname(String designname) 
    {
        this.designname = designname;
    }

    public String getDesignname() 
    {
        return designname;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("productno", getProductno())
            .append("productcount", getProductcount())
            .append("deadline", getDeadline())
            .append("warpingId", getWarpingId())
            .append("loomingId", getLoomingId())
            .append("formulaId", getFormulaId())
            .append("processId", getProcessId())
            .append("sizingname", getSizingname())
            .append("designname", getDesignname())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
